package com.share.inter;

import java.util.List;

/**
 * @desc:
 * @author:caifan
 * @date:2021/5/26
 */
public class DelegateType implements OneType {
    public OneType oneType;

    public DelegateType(OneType oneType) {
        this.oneType = oneType;
    }

    @Override
    public Object getValue() {
        return oneType.getValue();
    }

    @Override
    public List getValues() {
        return oneType.getValues();
    }
}
